package com.qf.service;

import com.qf.pojo.Recycle;
import com.qf.utils.ResultMsg;

import java.util.Map;

public interface RecycleService {
    ResultMsg findAll(int curren, int pageSize);

    ResultMsg findOne(int recycleId);

    ResultMsg findAllByDate(String startTime, String endTime, Integer current, Integer pageSize);

    ResultMsg add(Recycle recycle);

    ResultMsg updateRecycle(Recycle recycle);

    ResultMsg delRecycle(Map<String,Object> map);

}
